package com.wjx.dingcan.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.kzw.oa.model.system.AppUser;

public class Order {
	
	private Long oid;
	private String orderCode;
	private Date orderTime; 
	private Float orderPrice ;
	private String orderLangage; //订单附言
	
	/*
	 * 1 未付款，未发货
	 * 2 未付款， 已发货
	 * 4 已付款，未发货
	 * 8 已付款，已发货
	 */
	private Integer orderStatus ; 
	private  AppUser orderCustomer ;
	private String address; //收货地址
	private Set<AppUser> shangjias = new HashSet<>();
	
	public Set<AppUser> getShangjias() {
		return shangjias;
	}

	public void setShangjias(Set<AppUser> shangjias) {
		this.shangjias = shangjias;
	}

	public Long getOid() {
		return oid;
	}
	
	public String getOrderLangage() {
		return orderLangage;
	}

	public void setOrderLangage(String orderLangage) {
		this.orderLangage = orderLangage;
	}

	public void setOid(Long oid) {
		this.oid = oid;
	}
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public Float getOrderPrice() {
		return orderPrice;
	}
	public void setOrderPrice(Float orderPrice) {
		this.orderPrice = orderPrice;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	public AppUser getOrderCustomer() {
		return orderCustomer;
	}
	public void setOrderCustomer(AppUser orderCustomer) {
		this.orderCustomer = orderCustomer;
	}
	
}
